#include <stdio.h>
#include <string.h>
#include <stdlib.h>

#define MAX_SIZE 0xF
typedef struct _st_stack st_stack;
struct _st_stack
{
  int top;
  int data[MAX_SIZE];
};

int pop(st_stack *stack)
{
  
  return key;
}

void push(st_stack *stack, int key)
{
  if (stack->top == 0)
    stack->data[0] = key;
  else if (stack->top >0 && stack->top < MAX_SIZE)
  {
    stack->top += 1;
    stack->data[stack->top] = key;
  }
}

int main(int argc, char **argv)
{

	char buff[255];
	FILE *fd = fopen("/etc/monitor.ini", "r");
	while(fgets(buff, 255, fd))
		printf("%s", buff);
	close(fd);
	return 0;
}
